package com.ecoolex.cms.system.core.mapper;

import com.ecoolex.cms.system.entity.SunrisedutyfreeApplication;
import com.ecoolex.cms.system.entity.SunrisedutyfreeApplicationExample;
import com.ecoolex.framework.common.annotation.Description;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface SunrisedutyfreeApplicationMapper {
    long countByExample(SunrisedutyfreeApplicationExample example);

    int deleteByExample(SunrisedutyfreeApplicationExample example);

    int deleteByPrimaryKey(String appId);

    int insert(SunrisedutyfreeApplication record);

    int insertSelective(@Param("record") SunrisedutyfreeApplication record, @Param("selective") SunrisedutyfreeApplication.Column ... selective);

    SunrisedutyfreeApplication selectOneByExample(SunrisedutyfreeApplicationExample example);

    List<SunrisedutyfreeApplication> selectByExample(SunrisedutyfreeApplicationExample example);

    SunrisedutyfreeApplication selectByPrimaryKey(String appId);

    SunrisedutyfreeApplication selectByPrimaryKeyWithLogicalDelete(@Param("appId") String appId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") SunrisedutyfreeApplication record, @Param("example") SunrisedutyfreeApplicationExample example, @Param("selective") SunrisedutyfreeApplication.Column ... selective);

    int updateByExample(@Param("record") SunrisedutyfreeApplication record, @Param("example") SunrisedutyfreeApplicationExample example);

    int updateByPrimaryKeySelective(@Param("record") SunrisedutyfreeApplication record, @Param("selective") SunrisedutyfreeApplication.Column ... selective);

    int updateByPrimaryKey(SunrisedutyfreeApplication record);

    int batchInsert(@Param("list") List<SunrisedutyfreeApplication> list);

    int batchInsertSelective(@Param("list") List<SunrisedutyfreeApplication> list, @Param("selective") SunrisedutyfreeApplication.Column ... selective);

    int logicalDeleteByExample(@Param("example") SunrisedutyfreeApplicationExample example);

    int logicalDeleteByPrimaryKey(String appId);
}